3.135 \(\int \frac{A+C x^2}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx\)

Optimal. Leaf size=368 \[ \frac{2 \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} \left (3 A d f h^2+C (c h (f g-e h)+d g (e h+2 f g))\right ) F\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{3 d^2 f^{3/2} h^2 \sqrt{e+f x} \sqrt{g+h x}}-\frac{4 C \sqrt{g+h x} \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} (c f h+d e h+d f g) E\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{3 d^2 f^{3/2} h^2 \sqrt{e+f x} \sqrt{\frac{d (g+h x)}{d g-c h}}}+\frac{2 C \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{3 d f h} \]

[Out]

(2*C*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x])/(3*d*f*h) - (4*C*Sqrt[-(d*e) + c
*f]*(d*f*g + d*e*h + c*f*h)*Sqrt[(d*(e + f*x))/(d*e - c*f)]*Sqrt[g + h*x]*Ellipt
icE[ArcSin[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h)/(f*(d*g
- c*h))])/(3*d^2*f^(3/2)*h^2*Sqrt[e + f*x]*Sqrt[(d*(g + h*x))/(d*g - c*h)]) + (2
*Sqrt[-(d*e) + c*f]*(3*A*d*f*h^2 + C*(c*h*(f*g - e*h) + d*g*(2*f*g + e*h)))*Sqrt
[(d*(e + f*x))/(d*e - c*f)]*Sqrt[(d*(g + h*x))/(d*g - c*h)]*EllipticF[ArcSin[(Sq
rt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h)/(f*(d*g - c*h))])/(3*d
^2*f^(3/2)*h^2*Sqrt[e + f*x]*Sqrt[g + h*x])

_______________________________________________________________________________________

Rubi [A]  time = 1.56166, antiderivative size = 367, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 35, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.171 \[ \frac{2 \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} \left (3 A d f h^2+c C h (f g-e h)+C d g (e h+2 f g)\right ) F\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{3 d^2 f^{3/2} h^2 \sqrt{e+f x} \sqrt{g+h x}}-\frac{4 C \sqrt{g+h x} \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} (c f h+d e h+d f g) E\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{3 d^2 f^{3/2} h^2 \sqrt{e+f x} \sqrt{\frac{d (g+h x)}{d g-c h}}}+\frac{2 C \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{3 d f h} \]

Antiderivative was successfully verified.

[In]  Int[(A + C*x^2)/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

(2*C*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x])/(3*d*f*h) - (4*C*Sqrt[-(d*e) + c
*f]*(d*f*g + d*e*h + c*f*h)*Sqrt[(d*(e + f*x))/(d*e - c*f)]*Sqrt[g + h*x]*Ellipt
icE[ArcSin[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h)/(f*(d*g
- c*h))])/(3*d^2*f^(3/2)*h^2*Sqrt[e + f*x]*Sqrt[(d*(g + h*x))/(d*g - c*h)]) + (2
*Sqrt[-(d*e) + c*f]*(3*A*d*f*h^2 + c*C*h*(f*g - e*h) + C*d*g*(2*f*g + e*h))*Sqrt
[(d*(e + f*x))/(d*e - c*f)]*Sqrt[(d*(g + h*x))/(d*g - c*h)]*EllipticF[ArcSin[(Sq
rt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h)/(f*(d*g - c*h))])/(3*d
^2*f^(3/2)*h^2*Sqrt[e + f*x]*Sqrt[g + h*x])

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((C*x**2+A)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [C]  time = 7.77586, size = 390, normalized size = 1.06 \[ \frac{\sqrt{c+d x} \left (\frac{2 i d h \sqrt{c+d x} \sqrt{\frac{d (e+f x)}{f (c+d x)}} \sqrt{\frac{d (g+h x)}{h (c+d x)}} \left (3 A d f^2 h+c C f (e h-f g)+C d e (2 e h+f g)\right ) F\left (i \sinh ^{-1}\left (\frac{\sqrt{\frac{d e}{f}-c}}{\sqrt{c+d x}}\right )|\frac{d f g-c f h}{d e h-c f h}\right )}{\sqrt{\frac{d e}{f}-c}}-\frac{4 C d^2 (e+f x) (g+h x) (c f h+d e h+d f g)}{c+d x}-4 i C f h \sqrt{c+d x} \sqrt{\frac{d e}{f}-c} \sqrt{\frac{d (e+f x)}{f (c+d x)}} \sqrt{\frac{d (g+h x)}{h (c+d x)}} (c f h+d e h+d f g) E\left (i \sinh ^{-1}\left (\frac{\sqrt{\frac{d e}{f}-c}}{\sqrt{c+d x}}\right )|\frac{d f g-c f h}{d e h-c f h}\right )+2 C d^2 f h (e+f x) (g+h x)\right )}{3 d^3 f^2 h^2 \sqrt{e+f x} \sqrt{g+h x}} \]

Antiderivative was successfully verified.

[In]  Integrate[(A + C*x^2)/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

(Sqrt[c + d*x]*(2*C*d^2*f*h*(e + f*x)*(g + h*x) - (4*C*d^2*(d*f*g + d*e*h + c*f*
h)*(e + f*x)*(g + h*x))/(c + d*x) - (4*I)*C*Sqrt[-c + (d*e)/f]*f*h*(d*f*g + d*e*
h + c*f*h)*Sqrt[c + d*x]*Sqrt[(d*(e + f*x))/(f*(c + d*x))]*Sqrt[(d*(g + h*x))/(h
*(c + d*x))]*EllipticE[I*ArcSinh[Sqrt[-c + (d*e)/f]/Sqrt[c + d*x]], (d*f*g - c*f
*h)/(d*e*h - c*f*h)] + ((2*I)*d*h*(3*A*d*f^2*h + c*C*f*(-(f*g) + e*h) + C*d*e*(f
*g + 2*e*h))*Sqrt[c + d*x]*Sqrt[(d*(e + f*x))/(f*(c + d*x))]*Sqrt[(d*(g + h*x))/
(h*(c + d*x))]*EllipticF[I*ArcSinh[Sqrt[-c + (d*e)/f]/Sqrt[c + d*x]], (d*f*g - c
*f*h)/(d*e*h - c*f*h)])/Sqrt[-c + (d*e)/f]))/(3*d^3*f^2*h^2*Sqrt[e + f*x]*Sqrt[g
 + h*x])

_______________________________________________________________________________________

Maple [B]  time = 0.036, size = 1804, normalized size = 4.9 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((C*x^2+A)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x)

[Out]

2/3*(3*A*((d*x+c)*f/(c*f-d*e))^(1/2)*(-(h*x+g)*d/(c*h-d*g))^(1/2)*(-(f*x+e)*d/(c
*f-d*e))^(1/2)*EllipticF(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(
1/2))*c*d^2*f^2*h^2-3*A*((d*x+c)*f/(c*f-d*e))^(1/2)*(-(h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g))^(1/2))*d^3*e*f*g^2+C*x^3*d^3*f^2*h^2+C*x^2*c*d^2*f^2*h^2+C*x^2*d
^3*e*f*h^2+C*x^2*d^3*f^2*g*h+C*x*c*d^2*e*f*h^2+C*x*c*d^2*f^2*g*h+C*x*d^3*e*f*g*h
+C*c*d^2*e*f*g*h)*(d*x+c)^(1/2)*(f*x+e)^(1/2)*(h*x+g)^(1/2)/h^2/f^2/d^3/(d*f*h*x
^3+c*f*h*x^2+d*e*h*x^2+d*f*g*x^2+c*e*h*x+c*f*g*x+d*e*g*x+c*e*g)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{C x^{2} + A}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((C*x^2 + A)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)),x, algorithm="maxima")

[Out]

integrate((C*x^2 + A)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{C x^{2} + A}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((C*x^2 + A)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)),x, algorithm="fricas")

[Out]

integral((C*x^2 + A)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{A + C x^{2}}{\sqrt{c + d x} \sqrt{e + f x} \sqrt{g + h x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((C*x**2+A)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

Integral((A + C*x**2)/(sqrt(c + d*x)*sqrt(e + f*x)*sqrt(g + h*x)), x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{C x^{2} + A}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((C*x^2 + A)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)),x, algorithm="giac")

[Out]

integrate((C*x^2 + A)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)